QuickTime 4 API Documentation

3D Graphics Programming with QuickDraw 3D 1.5.4

Previous | QD3D Book | Overview | Chapter Contents | Next |

Rotate Transforms

Labels

ASCII
Rotate
Binary
rott (= 0x726F7474 )

Axis Enum Data Type

X
0x00000000
Y
0x00000001
Z
0x00000002

Data Format

AxisEnum            axis
Float32             radians
axis
The axis of rotation. The value in this field must be one of these constants: X , Y , or Z .
radians
The number of radians to rotate around the axis of rotation.

Data Size

8

Description

A rotate transform rotates an object about the x , y , or z axis by a specified number of radians.

Parent Hierarchy

Shared, shape, transform.

Parent Objects

None.

Child Objects

None.

Example

Rotate (                # rotate about the z axis by -1.57 radians
    Z
    -1.57
    )

© 1997 Apple Computer, Inc.

Previous | QD3D Book | Overview | Chapter Contents | Next |